Adwaita: nicer transition for flat buttons.
authorLapo Calamandrei <calamandrei@gmail.com>
Thu, 28 Aug 2014 16:38:46 +0000 (18:38 +0200)
committerLapo Calamandrei <calamandrei@gmail.com>
Thu, 28 Aug 2014 16:38:46 +0000 (18:38 +0200)
gtk/resources/theme/Adwaita/_common.scss
gtk/resources/theme/Adwaita/gtk-contained-dark.css
gtk/resources/theme/Adwaita/gtk-contained.css

index f1e29bee72181d030b5f5783e31db9fdcc22602f..8b937c0eb8acb844524386f24e1c95280081f575 100644 (file)
@@ -48,7 +48,6 @@
   outline-offset: -3px;
   outline-width: 1px;
   outline-radius: 2px;
-
 }
 
 
@@ -646,7 +645,8 @@ $_dot_color: if($variant=='light', $selected_bg_color,
   border-color: transparent;
   background-color: transparent;
   background-image: none;
-  box-shadow: inset 0 1px transparentize(white,1);
+  box-shadow: inset 0 1px transparentize(white,1),
+              0 1px transparentize(white, 1);
   text-shadow: none;
   icon-shadow: none;
 }
index 8fb6de45b94de85cb151c9a7af941922ea5e0a93..78415f6cd74a9ecfa16f19d591402ffaf23a72b4 100644 (file)
@@ -767,7 +767,7 @@ GtkTextView {
   border-color: transparent;
   background-color: transparent;
   background-image: none;
-  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
+  box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0);
   text-shadow: none;
   icon-shadow: none; }
 
index 84e0a52da2d37b056e39dc397a28068c37375c82..bde0cb41800138bc38990e930f97a60418732762 100644 (file)
@@ -759,7 +759,7 @@ GtkTextView {
   border-color: transparent;
   background-color: transparent;
   background-image: none;
-  box-shadow: inset 0 1px rgba(255, 255, 255, 0);
+  box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0);
   text-shadow: none;
   icon-shadow: none; }